package org.fang;

public class Test {
    public static void main(String[] args) {
        String s = "adaf";
        char[] chars = s.toCharArray();
        int j = 0;
        while (j < 2) {
            j++;
            for (int i = 0; i < 4; i++) {
                if (chars[i]=='d') {
                    /**
                     * 结束当前的最内层循环
                     */
                    continue;
                }
                System.out.println(i);
            }
        }

        System.out.println((char) ('a' - 32));

    }
}
